package com.clarence.dada.core.redis.operator.type;


import com.clarence.dada.core.redis.constants.RedisConstants;
import com.clarence.dada.core.redis.operator.AbstractRedisCacheOperator;
import org.springframework.data.redis.core.RedisTemplate;

/**
 * 白名单的缓存
 *
 * @author fengshuonan
 * @since 2020/11/15 15:26
 */
public class WhiteListRedisCache extends AbstractRedisCacheOperator<String> {

    public WhiteListRedisCache(RedisTemplate<String, String> redisTemplate) {
        super(redisTemplate);
    }

    @Override
    public String getCommonKeyPrefix() {
        return RedisConstants.WHITE_LIST_CACHE_KEY_PREFIX;
    }

}
